public class AreaCalculator2
{
	public int Area(Shape[] shapes) 
	{
		int area = 0;

		//Rectangle rt = new Rectangle(2,10);
	
		for (int i=0;  i < shapes.length; i++) 
		{
			area += shapes[i].Area();
		}
		return area;        
	}
}